//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.farm.doc.service;

import com.farm.core.auth.domain.LoginUser;
import com.farm.core.sql.query.DataQuery;
import com.farm.doc.domain.Docdraft;

public interface DocdraftServiceInter {
    Docdraft insertDocdraftEntity(Docdraft var1, LoginUser var2);

    Docdraft editDocdraftEntity(Docdraft var1, LoginUser var2);

    void deleteDocdraftEntity(String var1, LoginUser var2);

    Docdraft getDocdraftEntity(String var1);

    DataQuery createDocdraftSimpleQuery(DataQuery var1);

    Docdraft getDocdraftEntityByType(DocdraftServiceInter.DRAFT_TYPE var1, String var2);

    void deleteDocdraft(DocdraftServiceInter.DRAFT_TYPE var1, String var2);

    public static enum DRAFT_TYPE {
        KNOW_DOC("KNOW_DOC");

        private String key;

        private DRAFT_TYPE(String key) {
            this.key = key;
        }

        public String getKey() {
            return this.key;
        }
    }
}
